# RUN: llvm-mc --disassemble %s -triple=i686-apple-darwin9 | FileCheck %s

# Coverage

# CHECK: pushl
0xff 0x34 0x24

# CHECK: popl
0x58

# CHECK: calll
0xff 0xd0

# CHECK: jecxz -127
0xe3 0x81

# CHECK: jcxz -127
0x67 0xe3 0x81

# CHECK: incl
0x40

# CHECK: leave
0xc9

# PR8873: some instructions not recognized in 32-bit mode

# CHECK: fld
0xdd 0x04 0x24

# CHECK: pshufb
0x0f 0x38 0x00 0xc0

# CHECK: crc32b %al, %eax
0xf2 0x0f 0x38 0xf0 0xc0

# CHECK: crc32w %ax, %eax
0x66 0xf2 0x0f 0x38 0xf1 0xc0

# CHECK: crc32l %eax, %eax
0xf2 0x0f 0x38 0xf1 0xc0


# CHECK: int	$33
0xCD 0x21 

# CHECK: int	$33
0xCD 0x21


# CHECK: addb	%al, (%eax)
0 0

# CHECK: calll	-1234
0xe8 0x2e 0xfb 0xff 0xff

# CHECK: callw	-1
0x66 0xe8 0xff 0xff

# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
# CHECK: lfence
0x0f 0xae 0xe8
0x0f 0xae 0xe9
0x0f 0xae 0xea
0x0f 0xae 0xeb
0x0f 0xae 0xec
0x0f 0xae 0xed
0x0f 0xae 0xee
0x0f 0xae 0xef

# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
# CHECK: mfence
0x0f 0xae 0xf0
0x0f 0xae 0xf1
0x0f 0xae 0xf2
0x0f 0xae 0xf3
0x0f 0xae 0xf4
0x0f 0xae 0xf5
0x0f 0xae 0xf6
0x0f 0xae 0xf7

# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
# CHECK: sfence
0x0f 0xae 0xf8
0x0f 0xae 0xf9
0x0f 0xae 0xfa
0x0f 0xae 0xfb
0x0f 0xae 0xfc
0x0f 0xae 0xfd
0x0f 0xae 0xfe
0x0f 0xae 0xff

# CHECK: monitor
0x0f 0x01 0xc8

# CHECK: mwait
0x0f 0x01 0xc9

# CHECK: vmcall
0x0f 0x01 0xc1

# CHECK: vmfunc
0x0f 0x01 0xd4

# CHECK: vmlaunch
0x0f 0x01 0xc2

# CHECK: vmresume
0x0f 0x01 0xc3

# CHECK: vmxoff
0x0f 0x01 0xc4

# CHECK: swapgs
0x0f 0x01 0xf8

# CHECK: rdtscp
0x0f 0x01 0xf9

# CHECK: monitorx
0x0f 0x01 0xfa

# CHECK: mwaitx
0x0f 0x01 0xfb

# CHECK: vmxon
0xf3 0x0f 0xc7 0x30

# CHECK: vmptrld
0x0f 0xc7 0x30

# CHECK: vmptrst
0x0f 0xc7 0x38

# CHECK: vmrun
0x0f 0x01 0xd8

# CHECK: vmmcall
0x0f 0x01 0xd9

# CHECK: vmload
0x0f 0x01 0xda

# CHECK: vmsave
0x0f 0x01 0xdb

# CHECK: stgi
0x0f 0x01 0xdc

# CHECK: clgi
0x0f 0x01 0xdd

# CHECK: skinit
0x0f 0x01 0xde

# CHECK: invlpga
0x0f 0x01 0xdf

# CHECK: clzero
0x0f,0x01,0xfc

# CHECK: tlbsync
0x0f,0x01,0xff

# CHECK: invlpgb
0x0f,0x01,0xfe

# CHECK: movl $0, -4(%ebp)
0xc7 0x45 0xfc 0x00 0x00 0x00 0x00

# CHECK: movl	%cr0, %ecx
0x0f 0x20 0xc1

# CHECK: leal	4(%esp), %ecx
0x8d 0x4c 0x24 0x04 

# CHECK: enter	$1, $2
0xc8 0x01 0x00 0x02

# CHECK: movw	$47416, -66(%ebp)
0x66 0xc7 0x45 0xbe 0x38 0xb9

# CHECK: vaddpd	%ymm5, %ymm1, %ymm0
0xc4 0xc1 0x75 0x58 0xc5

# CHECK: vaddps	%ymm3, %ymm1, %ymm0
0xc5 0xf4 0x58 0xc3

# CHECK: vandpd	%ymm5, %ymm1, %ymm0
0xc4 0xc1 0x75 0x54 0xc5

# CHECK: vandps	%ymm3, %ymm1, %ymm0
0xc5 0xf4 0x54 0xc3

# CHECK: vzeroall
0xc5 0xfc 0x77

# CHECK: vcvtps2pd %xmm0, %ymm0
0xc5 0xfc 0x5a 0xc0

# CHECK: vandps (%edx), %xmm1, %xmm7
0xc5 0xf0 0x54 0x3a

# CHECK: vcvtss2si %xmm0, %eax
0xc5 0xfa 0x2d 0xc0

# CHECK: vcvtsd2si %xmm0, %eax
0xc5 0xfb 0x2d 0xc0

# CHECK: vcvtsd2si %xmm0, %eax
0xc4 0xe1 0x7b 0x2d 0xc0

# CHECK: vmaskmovpd %xmm0, %xmm1, (%eax)
0xc4 0xe2 0x71 0x2f 0x00

# CHECK: vmovapd %xmm0, %xmm2
0xc5 0xf9 0x28 0xd0

# Check these special case instructions that the immediate is not sign-extend.
# CHECK: blendps $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x0c 0xca 0x81

# CHECK: blendpd $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x0d 0xca 0x81

# CHECK: pblendw $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x0e 0xca 0x81

# CHECK: mpsadbw $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x42 0xca 0x81

# CHECK: dpps $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x40 0xca 0x81

# CHECK: dppd $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x41 0xca 0x81

# CHECK: insertps $129, %xmm2, %xmm1
0x66 0x0f 0x3a 0x21 0xca 0x81

# CHECK: vblendps $129, %ymm2, %ymm5, %ymm1
0xc4 0xe3 0x55 0x0c 0xca 0x81

# CHECK: vblendps $129, (%eax), %ymm5, %ymm1
0xc4 0xe3 0x55 0x0c 0x08 0x81

# CHECK: vblendpd $129, %ymm2, %ymm5, %ymm1
0xc4 0xe3 0x55 0x0d 0xca 0x81

# CHECK: vblendpd $129, (%eax), %ymm5, %ymm1
0xc4 0xe3 0x55 0x0d 0x08 0x81

# CHECK: vpblendw $129, %xmm2, %xmm5, %xmm1
0xc4 0xe3 0x51 0x0e 0xca 0x81

# CHECK: vmpsadbw $129, %xmm2, %xmm5, %xmm1
0xc4 0xe3 0x51 0x42 0xca 0x81

# CHECK: vdpps $129, %ymm2, %ymm5, %ymm1
0xc4 0xe3 0x55 0x40 0xca 0x81

# CHECK: vdpps $129, (%eax), %ymm5, %ymm1
0xc4 0xe3 0x55 0x40 0x08 0x81

# CHECK: vdppd $129, %xmm2, %xmm5, %xmm1
0xc4 0xe3 0x51 0x41 0xca 0x81

# CHECK: vinsertps $129, %xmm3, %xmm2, %xmm1
0xc4 0xe3 0x69 0x21 0xcb 0x81

# CHECK: pause
0xf3 0x90

# CHECK: addl %eax, %edi
0x01 0xc7

# CHECK: addl %edi, %eax
0x03 0xc7

# CHECK: movl %eax, %edi
0x89 0xc7

# CHECK: movl %edi, %eax
0x8b 0xc7

# CHECK: movups %xmm1, %xmm0
0x0f 0x10 0xc1

# CHECK: movups %xmm0, %xmm1
0x0f 0x11 0xc1

# CHECK: movaps %xmm1, %xmm0
0x0f 0x28 0xc1

# CHECK: movaps %xmm0, %xmm1
0x0f 0x29 0xc1

# CHECK: movupd %xmm1, %xmm0
0x66 0x0f 0x10 0xc1

# CHECK: movupd %xmm0, %xmm1
0x66 0x0f 0x11 0xc1

# CHECK: movapd %xmm1, %xmm0
0x66 0x0f 0x28 0xc1

# CHECK: movapd %xmm0, %xmm1
0x66 0x0f 0x29 0xc1

# CHECK: vmovups %xmm1, %xmm0
0xc5 0xf8 0x10 0xc1

# CHECK: vmovups %xmm0, %xmm1
0xc5 0xf8 0x11 0xc1

# CHECK: vmovaps %xmm1, %xmm0
0xc5 0xf8 0x28 0xc1

# CHECK: vmovaps %xmm0, %xmm1
0xc5 0xf8 0x29 0xc1

# CHECK: vmovupd %xmm1, %xmm0
0xc5 0xf9 0x10 0xc1

# CHECK: vmovupd %xmm0, %xmm1
0xc5 0xf9 0x11 0xc1

# CHECK: vmovapd %xmm1, %xmm0
0xc5 0xf9 0x28 0xc1

# CHECK: vmovapd %xmm0, %xmm1
0xc5 0xf9 0x29 0xc1

# CHECK: vmovups %ymm1, %ymm0
0xc5 0xfc 0x10 0xc1

# CHECK: vmovups %ymm0, %ymm1
0xc5 0xfc 0x11 0xc1

# CHECK: vmovaps %ymm1, %ymm0
0xc5 0xfc 0x28 0xc1

# CHECK: vmovaps %ymm0, %ymm1
0xc5 0xfc 0x29 0xc1

# CHECK: movdqa %xmm1, %xmm0
0x66 0x0f 0x6f 0xc1

# CHECK: movdqa %xmm0, %xmm1
0x66 0x0f 0x7f 0xc1

# CHECK: movdqu %xmm1, %xmm0
0xf3 0x0f 0x6f 0xc1

# CHECK: movdqu %xmm0, %xmm1
0xf3 0x0f 0x7f 0xc1

# CHECK: vmovdqa %xmm1, %xmm0
0xc5 0xf9 0x6f 0xc1

# CHECK: vmovdqa %xmm0, %xmm1
0xc5 0xf9 0x7f 0xc1

# CHECK: vmovdqa %ymm1, %ymm0
0xc5 0xfd 0x6f 0xc1

# CHECK: vmovdqa %ymm0, %ymm1
0xc5 0xfd 0x7f 0xc1

# CHECK: vmovdqu %xmm1, %xmm0
0xc5 0xfa 0x6f 0xc1

# CHECK: vmovdqu %xmm0, %xmm1
0xc5 0xfa 0x7f 0xc1

# CHECK: vmovdqu %ymm1, %ymm0
0xc5 0xfe 0x6f 0xc1

# CHECK: vmovdqu %ymm0, %ymm1
0xc5 0xfe 0x7f 0xc1

# CHECK: vblendvps %xmm4, %xmm1, %xmm2, %xmm3
0xc4 0xe3 0x69 0x4a 0xd9 0x41

# CHECK: vroundpd $0, %xmm0, %xmm0
0xc4 0xe3 0x79 0x09 0xc0 0x00

# CHECK: vroundps $0, %xmm0, %xmm0
0xc4 0xe3 0x79 0x08 0xc0 0x00

# CHECK: vroundpd $0, %ymm0, %ymm0
0xc4 0xe3 0x7d 0x09 0xc0 0x00

# CHECK: vroundps $0, %ymm0, %ymm0
0xc4 0xe3 0x7d 0x08 0xc0 0x00

# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0
0xc4 0xe3 0x79 0x0a 0xc0 0x00

# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0
0xc4 0xe3 0x79 0x0b 0xc0 0x00

# CHECK: invept (%eax), %eax
0x66 0x0f 0x38 0x80 0x00

# CHECK: invvpid (%eax), %eax
0x66 0x0f 0x38 0x81 0x00

# CHECK: invpcid (%eax), %eax
0x66 0x0f 0x38 0x82 0x00

# CHECK: nop
0x90

# CHECK: addb $0, %al
0x04 0x00

# CHECK: addw $0, %ax
0x66 0x05 0x00 0x00

# CHECK: addl $0, %eax
0x05 0x00 0x00 0x00 0x00

# CHECK: adcb $0, %al
0x14 0x00

# CHECK: adcw $0, %ax
0x66 0x15 0x00 0x00

# CHECK: adcl $0, %eax
0x15 0x00 0x00 0x00 0x00

# CHECK: cmpb $0, %al
0x3c 0x00

# CHECK: cmpw $0, %ax
0x66 0x3d 0x00 0x00

# CHECK: cmpl $0, %eax
0x3d 0x00 0x00 0x00 0x00

# CHECK: testb $0, %al
0xa8 0x00

# CHECK: testw $0, %ax
0x66 0xa9 0x00 0x00

# CHECK: testl $0, %eax
0xa9 0x00 0x00 0x00 0x00

# CHECK: movb 0, %al
0xa0 0x00 0x00 0x00 0x00

# CHECK: movw 0, %ax
0x66 0xa1 0x00 0x00 0x00 0x00

# CHECK: movl 0, %eax
0xa1 0x00 0x00 0x00 0x00

# CHECK: movb %al, 0
0xa2 0x00 0x00 0x00 0x00

# CHECK: movw %ax, 0
0x66 0xa3 0x00 0x00 0x00 0x00

# CHECK: movl %eax, 0
0xa3 0x00 0x00 0x00 0x00

# CHECK: cmpordpd %xmm7, %xmm0
0x66 0x0f 0xc2 0xc7 0x07

# CHECK: cmpordps %xmm7, %xmm0
0x0f 0xc2 0xc7 0x07

# CHECK: cmpordsd %xmm7, %xmm0
0xf2 0x0f 0xc2 0xc7 0x07

# CHECK: cmpordss %xmm7, %xmm0
0xf3 0x0f 0xc2 0xc7 0x07

# CHECK: vaddps	%xmm3, %xmm7, %xmm0
0xc4 0xe1 0x00 0x58 0xc3

# CHECK: movbel (%eax), %eax
0x0f 0x38 0xf0 0x00

# CHECK: movbel %eax, (%eax)
0x0f 0x38 0xf1 0x00

# CHECK: movbew (%eax), %ax
0x66 0x0f 0x38 0xf0 0x00

# CHECK: movbew %ax, (%eax)
0x66 0x0f 0x38 0xf1 0x00

# CHECK: rdrandw %ax
0x66 0x0f 0xc7 0xf0

# CHECK: rdrandl %eax
0x0f 0xc7 0xf0

# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0
0xc4 0xe3 0x7d 0x0a 0xc0 0x00

# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0
0xc4 0xe3 0x7d 0x0b 0xc0 0x00

# CHECK: vcvtsd2si %xmm0, %eax
0xc4 0xe1 0x7f 0x2d 0xc0

# CHECK: vcvtsd2si %xmm0, %eax
0xc4 0xe1 0xff 0x2d 0xc0

# CHECK: vucomisd %xmm1, %xmm0
0xc5 0xfd 0x2e 0xc1

# CHECK: vucomiss %xmm1, %xmm0
0xc5 0xfc 0x2e 0xc1

# CHECK: vcomisd %xmm1, %xmm0
0xc5 0xfd 0x2f 0xc1

# CHECK: vcomiss %xmm1, %xmm0
0xc5 0xfc 0x2f 0xc1

# CHECK: vaddss %xmm1, %xmm0, %xmm0
0xc5 0xfe 0x58 0xc1

# CHECK: xsave (%eax)
0x0f 0xae 0x20

# CHECK: xrstor (%eax)
0x0f 0xae 0x28

# CHECK: xsaveopt (%eax)
0x0f 0xae 0x30

# CHECK: xsaves (%eax)
0x0f 0xc7 0x28

# CHECK: xrstors (%eax)
0x0f 0xc7 0x18

# CHECK: xsavec (%eax)
0x0f 0xc7 0x20

# CHECK: clflush (%eax)
0x0f 0xae 0x38

# CHECK: clflushopt (%eax)
0x66 0x0f 0xae 0x38

# CHECK: clwb (%eax)
0x66 0x0f 0xae 0x30

# CHECK: vcvtph2ps %xmm0, %xmm0
0xc4 0xe2 0x79 0x13 0xc0

# CHECK: vcvtph2ps (%eax), %xmm0
0xc4 0xe2 0x79 0x13 0x00

# CHECK: vcvtph2ps %xmm0, %ymm0
0xc4 0xe2 0x7d 0x13 0xc0

# CHECK: vcvtph2ps (%eax), %ymm0
0xc4 0xe2 0x7d 0x13 0x00

# CHECK: vcvtps2ph $0, %xmm0, %xmm0
0xc4 0xe3 0x79 0x1d 0xc0 0x00

# CHECK: vcvtps2ph $0, %xmm0, (%eax)
0xc4 0xe3 0x79 0x1d 0x00 0x00

# CHECK: vcvtps2ph $0, %ymm0, %xmm0
0xc4 0xe3 0x7d 0x1d 0xc0 0x00

# CHECK: vcvtps2ph $0, %ymm0, (%eax)
0xc4 0xe3 0x7d 0x1d 0x00 0x00

# CHECK: popcntl %eax, %eax
0xf3 0x0f 0xb8 0xc0

# CHECK: popcntw %ax, %ax
0x66 0xf3 0x0f 0xb8 0xc0

# CHECK: lzcntl %eax, %eax
0xf3 0x0f 0xbd 0xc0

# CHECK: lzcntw %ax, %ax
0x66 0xf3 0x0f 0xbd 0xc0

# CHECK: tzcntl %eax, %eax
0xf3 0x0f 0xbc 0xc0

# CHECK: tzcntw %ax, %ax
0x66 0xf3 0x0f 0xbc 0xc0

# CHECK: andnl %ecx, %edi, %eax
0xc4 0xe2 0x00 0xf2 0xc1

# CHECK: andnl (%eax), %edi, %eax
0xc4 0xe2 0x00 0xf2 0x00

# CHECK: andnl %ecx, %edi, %eax
0xc4 0xe2 0x80 0xf2 0xc1

# CHECK: andnl (%eax), %edi, %eax
0xc4 0xe2 0x80 0xf2 0x00

# CHECK: blsrl (%eax), %edi
0xc4 0xe2 0x40 0xf3 0x08

# CHECK: blsmskl (%eax), %edi
0xc4 0xe2 0x40 0xf3 0x10

# CHECK: blsil (%eax), %edi
0xc4 0xe2 0x40 0xf3 0x18

# CHECK: bextrl %esi, (%eax), %edx
0xc4 0xe2 0x08 0xf7 0x10

# CHECK: bextrl %esi, %ebx, %edx
0xc4 0xe2 0x08 0xf7 0xd3

# CHECK: bzhil %esi, (%eax), %edx
0xc4 0xe2 0x08 0xf5 0x10

# CHECK: bzhil %esi, %ebx, %edx
0xc4 0xe2 0x08 0xf5 0xd3

# CHECK: pextl %esp, %ecx, %edx
0xc4 0xe2 0x72 0xf5 0xd4

# CHECK: pextl (%eax), %ecx, %edx
0xc4 0xe2 0x72 0xf5 0x10

# CHECK: pdepl %esp, %ecx, %edx
0xc4 0xe2 0x73 0xf5 0xd4

# CHECK: pdepl (%eax), %ecx, %edx
0xc4 0xe2 0x73 0xf5 0x10

# CHECK: mulxl %esp, %ecx, %edx
0xc4 0xe2 0x73 0xf6 0xd4

# CHECK: mulxl (%eax), %ecx, %edx
0xc4 0xe2 0x73 0xf6 0x10

# CHECK: mulxl %esp, %ecx, %edx
0xc4 0xe2 0xf3 0xf6 0xd4

# CHECK: mulxl (%eax), %ecx, %edx
0xc4 0xe2 0xf3 0xf6 0x10

# CHECK: rorxl $1, %esp, %edx
0xc4 0xe3 0x7b 0xf0 0xd4 0x01

# CHECK: rorxl $31, (%eax), %edx
0xc4 0xe3 0x7b 0xf0 0x10 0x1f

# CHECK: shlxl %esi, (%eax), %edx
0xc4 0xe2 0x09 0xf7 0x10

# CHECK: shlxl %esi, %ebx, %edx
0xc4 0xe2 0x09 0xf7 0xd3

# CHECK: sarxl %esi, (%eax), %edx
0xc4 0xe2 0x0a 0xf7 0x10

# CHECK: sarxl %esi, %ebx, %edx
0xc4 0xe2 0x0a 0xf7 0xd3

# CHECK: shrxl %esi, (%eax), %edx
0xc4 0xe2 0x0b 0xf7 0x10

# CHECK: shrxl %esi, %ebx, %edx
0xc4 0xe2 0x0b 0xf7 0xd3

# CHECK: extrq  $2, $3, %xmm0
0x66 0x0f 0x78 0xc0 0x03 0x02

# CHECK: extrq  %xmm1, %xmm0
0x66 0x0f 0x79 0xc1

# CHECK: insertq $6, $5, %xmm1, %xmm0
0xf2 0x0f 0x78 0xc1 0x05 0x06

# CHECK: insertq %xmm1, %xmm0
0xf2 0x0f 0x79 0xc1

# CHECK: movntsd %xmm0, (%edi)
0xf2 0x0f 0x2b 0x07

# CHECK: movntss %xmm0, (%edi)
0xf3 0x0f 0x2b 0x07

# CHECK: prefetch (%eax)
0x0f 0x0d 0x00

# CHECK: prefetchw (%eax)
0x0f 0x0d 0x08

# CHECK: prefetchwt1 (%eax)
0x0f 0x0d 0x10

# CHECK: adcxl %eax, %eax
0x66 0x0f 0x38 0xf6 0xc0

# CHECK: adcxl (%eax), %eax
0x66 0x0f 0x38 0xf6 0x00

# CHECK: adoxl %eax, %eax
0xf3 0x0f 0x38 0xf6 0xc0

# CHECK: adoxl (%eax), %eax
0xf3 0x0f 0x38 0xf6 0x00

# CHECK: movb 878082192, %al
0xa0 0x90 0x78 0x56 0x34

# CHECK: movw 878082192, %ax
0x66 0xa1 0x90 0x78 0x56 0x34

# CHECK: movl 878082192, %eax
0xa1 0x90 0x78 0x56 0x34

# CHECK: movb %al, 878082192
0xa2 0x90 0x78 0x56 0x34

# CHECK: movw %ax, 878082192
0x66 0xa3 0x90 0x78 0x56 0x34

# CHECK: movl %eax, 878082192
0xa3 0x90 0x78 0x56 0x34

# CHECK: incl %ecx
0xff 0xc1

# CHECK: decl %ecx
0xff 0xc9

# CHECK: incw %cx
0x66 0xff 0xc1

# CHECK: decw %cx
0x66 0xff 0xc9

# CHECK: incb %cl
0xfe 0xc1

# CHECK: decb %cl
0xfe 0xc9

# CHECK: incl %ecx
0x41

# CHECK: decl %ecx
0x49

# CHECK: movq %xmm0, %xmm0
0xf3 0x0f 0x7e 0xc0

# CHECK: vmovq %xmm0, %xmm0
0xc5 0xfa 0x7e 0xc0

# CHECK: movl %fs:0, %eax
0x64 0xa1 0x00 0x00 0x00 0x00

# CHECK: movb $-1, %al
0xc6 0xc0 0xff

# CHECK: movw $65535, %ax
0x66 0xc7 0xc0 0xff 0xff

# CHECK: movl $4294967295, %eax
0xc7 0xc0 0xff 0xff 0xff 0xff

# CHECK: movq %mm0, %mm1
0x0f 0x7f 0xc1

# CHECK: vpermq $238, %ymm2, %ymm2
0xc4 0xe3 0xfd 0x00 0xd2 0xee

# CHECK: cmpps $8, %xmm7, %xmm0
0x0f 0xc2 0xc7 0x08
# CHECK: cmppd $8, %xmm7, %xmm0
0x66 0x0f 0xc2 0xc7 0x08
# CHECK: cmpss $8, %xmm7, %xmm0
0xf3 0x0f 0xc2 0xc7 0x08
# CHECK: cmpsd $8, %xmm7, %xmm0
0xf2 0x0f 0xc2 0xc7 0x08

# CHECK: addb $38, 5277496
0x82 0x05 0x38 0x87 0x50 0x00 0x26
# CHECK: orb $38, 5277496
0x82 0x0d 0x38 0x87 0x50 0x00 0x26
# CHECK: adcb $38, 5277496
0x82 0x15 0x38 0x87 0x50 0x00 0x26
# CHECK: sbbb $38, 5277496
0x82 0x1d 0x38 0x87 0x50 0x00 0x26
# CHECK: andb $38, 5277496
0x82 0x25 0x38 0x87 0x50 0x00 0x26
# CHECK: subb $38, 5277496
0x82 0x2D 0x38 0x87 0x50 0x00 0x26
# CHECK: xorb $38, 5277496
0x82 0x35 0x38 0x87 0x50 0x00 0x26
# CHECK: cmpb $38, 5277496
0x82 0x3d 0x38 0x87 0x50 0x00 0x26

#CHECK: getsec
0x0f 0x37

#CHECK: llwpcb %ecx
0x8f 0xe9 0x78 0x12 0xc1

#CHECK: slwpcb %ecx
0x8f 0xe9 0x78 0x12 0xc9

# CHECK: lwpins $305419896, %ebx, %eax
0x8f 0xea 0x78 0x12 0xc3 0x78 0x56 0x34 0x12

# CHECK: lwpins $591751049, (%esp), %edx
0x8f 0xea 0x68 0x12 0x04 0x24 0x89 0x67 0x45 0x23

# CHECK: lwpval $1737075661, %ebx, %eax
0x8f 0xea 0x78 0x12 0xcb 0xcd 0xab 0x89 0x67

# CHECK: lwpval $2309737967, (%esp), %edx
0x8f 0xea 0x68 0x12 0x0c 0x24 0xef 0xcd 0xab 0x89

# CHECK: nopl %eax
0x0f 0x1f 0xc0

# CHECK: nopw %ax
0x66 0x0f 0x1f 0xc0

# CHECK: movw    %bx, %cs:(%esi,%ebp)
0x2e 0x66 0x89 0x1c 0x2e
# CHECK: movl    %ebx, %cs:(%si)
0x2e 0x67 0x89 0x1c
# CHECK: movl    %ebx, %cs:(%esi,%ebp)
0x2e 0x89 0x1c 0x2e
# CHECK: movw    %bx, %cs:(%si)
0x2e 0x67 0x66 0x89 0x1c
# CHECK: movw    %bx, %cs:(%si)
0x2e 0x66 0x67 0x89 0x1c

# CHECK: rdpid %eax
0xf3 0x0f 0xc7 0xf8

# CHECK: ptwritel -559038737(%ebx,%ecx,8)
0xf3 0x0f 0xae 0xa4 0xcb 0xef 0xbe 0xad 0xde

# CHECK: ptwritel %eax
0xf3 0x0f 0xae 0xe0

# CHECK: wbinvd
0x0f 0x09

# CHECK: wbnoinvd
0xf3 0x0f 0x09

# CHECK: cldemote 4(%eax)
0x0f 0x1c 0x40 0x04

# CHECK: cldemote -559038737(%ebx,%ecx,8)
0x0f,0x1c,0x84,0xcb,0xef,0xbe,0xad,0xde

# CHECK: movswl %ax, %eax
0x0f 0xbf 0xc0
# CHECK: movsww %ax, %ax
0x66 0x0f 0xbf 0xc0
# CHECK: movzwl %ax, %eax
0x0f 0xb7 0xc0
# CHECK: movzww %ax, %ax
0x66 0x0f 0xb7 0xc0

# CHECK: movswl (%eax), %eax
0x0f 0xbf 0x00
# CHECK: movsww (%eax), %ax
0x66 0x0f 0xbf 0x00
# CHECK: movzwl (%eax), %eax
0x0f 0xb7 0x00
# CHECK: movzww (%eax), %ax
0x66 0x0f 0xb7 0x00

# CHECK: umonitor %eax
0xf3 0x0f 0xae 0xf0

# CHECK: umonitor %ax
0x67 0xf3 0x0f 0xae 0xf0

# CHECK: umwait %eax
0xf2 0x0f 0xae 0xf0

# CHECK: tpause %eax
0x66 0x0f 0xae 0xf0

#CHECK: movdiri %eax, 64(%edx,%edi)
0x0f 0x38 0xf9 0x44 0x3a 0x40

#CHECK: movdir64b 485498096, %ecx
0x66 0x0f 0x38 0xf8 0x0d 0xf0 0x1c 0xf0 0x1c

#CHECK: movdir64b (%esi), %eax
0x66 0x0f 0x38 0xf8 0x06

#CHECK: movdir64b (%si), %ax
0x67 0x66 0x0f 0x38 0xf8 0x04

#CHECK: pconfig
0x0f 0x01 0xc5

#CHECK: encls
0x0f 0x01 0xcf

#CHECK: enclu
0x0f 0x01 0xd7

#CHECK: enclv
0x0f 0x01 0xc0

#CHECK: vaddps %xmm2, %xmm1, %xmm0
0x62 0xe1 0x74 0x00 0x58 0xc2

#CHECK: vgatherdps (%esi,%zmm0,4), %zmm1 {%k2}
0x62 0xf2 0x7d 0x42 0x92 0x0c 0x86

# CHECK: addb $0, 305419896(%ebp,%eiz)
0x80 0x84 0x25 0x78 0x56 0x34 0x12 0x00

# CHECK: addb $0, 305419896(%ebp,%eiz,2)
0x80 0x84 0x65 0x78 0x56 0x34 0x12 0x00

# CHECK: addb $0, 305419896(%esp,%eiz,2)
0x80 0x84 0x64 0x78 0x56 0x34 0x12 0x00

# CHECK: addb $0, 305419896(,%eiz)
0x80 0x04 0x25 0x78 0x56 0x34 0x12 0x00

# CHECK: enqcmd 268435456(%ebp,%eax,8), %esi
0xf2,0x0f,0x38,0xf8,0xb4,0xc5,0x00,0x00,0x00,0x10

# CHECK: enqcmd (%ecx), %edi
0xf2,0x0f,0x38,0xf8,0x39

# CHECK: enqcmd 8128(%ecx), %eax
0xf2,0x0f,0x38,0xf8,0x81,0xc0,0x1f,0x00,0x00

# CHECK: enqcmd -8192(%edx), %ebx
0xf2,0x0f,0x38,0xf8,0x9a,0x00,0xe0,0xff,0xff

# CHECK: enqcmd 485498096, %eax
0xf2,0x0f,0x38,0xf8,0x05,0xf0,0x1c,0xf0,0x1c

# CHECK: enqcmds 268435456(%ebp,%eax,8), %esi
0xf3,0x0f,0x38,0xf8,0xb4,0xc5,0x00,0x00,0x00,0x10

# CHECK: enqcmds (%ecx), %edi
0xf3,0x0f,0x38,0xf8,0x39

# CHECK: enqcmds 8128(%ecx), %eax
0xf3,0x0f,0x38,0xf8,0x81,0xc0,0x1f,0x00,0x00

# CHECK: enqcmds -8192(%edx), %ebx
0xf3,0x0f,0x38,0xf8,0x9a,0x00,0xe0,0xff,0xff

# CHECK: enqcmds 485498096, %eax
0xf3,0x0f,0x38,0xf8,0x05,0xf0,0x1c,0xf0,0x1c

# CHECK: enqcmd (%bx,%di), %di
0x67,0xf2,0x0f,0x38,0xf8,0x39

# CHECK: enqcmd 8128(%bx,%di), %ax
0x67,0xf2,0x0f,0x38,0xf8,0x81,0xc0,0x1f

# CHECK: enqcmds (%bx,%di), %di
0x67,0xf3,0x0f,0x38,0xf8,0x39

# CHECK: enqcmds 8128(%bx,%di), %ax
0x67,0xf3,0x0f,0x38,0xf8,0x81,0xc0,0x1f

# CHECK: serialize
0x0f 0x01 0xe8

# CHECK: xsusldtrk
0xf2 0x0f 0x01 0xe8

# CHECK: xresldtrk
0xf2 0x0f 0x01 0xe9

# CHECK: pvalidate
0xf2 0x0f 0x01 0xff

#CHECK: tdcall
0x66 0x0f 0x01 0xcc

# CHECK: hreset $1
0xf3 0x0f 0x3a 0xf0 0xc0 0x01

# CHECK: rdpru
0x0f,0x01,0xfd
